package com.imooc.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags = "hello 的测试接口")
public class Hello {

    @GetMapping("/hello")
    @ApiOperation("hello 接口测试")
    public Object hello(){
        return "hello world";
    }

}
